<template>
	<view>
		<video :src="src" style="width: 100vw; height: 100vh"></video>
	</view>
</template>

<script setup>
import { onLoad } from '@dcloudio/uni-app';
import { ref } from 'vue';
import { baseUrl } from '@/utils/tool.js';

uni.setStorageSync('navTitle', '视频演示');

const src = ref(null);
onLoad((options) => {
	src.value = baseUrl + options.file;
});
</script>

<style></style>
